{extend name="admin/layout" /}
{block name="main"}

<div class="row">
    {if condition="config('zz_gg_admin')"}
    <div class="col-md-12 col-sm-6">
        <div class="widget">
            <header class="widget-header">
                <h4 class="widget-title">本站公告</h4>
            </header>
            <hr class="widget-separator">
            <div class="widget-body">
                {:getHtmlCode(config('zz_gg_admin'))}
            </div>
        </div>
    </div>
    {/if}
    <div class="col-md-6">
        <div class="list-group">
            <div class="list-group-item active">数据统计</div>
            <a class="list-group-item"><i class="fa fa-user"></i>&nbsp;总用户数：{$amount.user}<span class="badge badge-info">今:{$amount.juser}</span></a>
            <a class="list-group-item"><i class="fa fa-qq"></i>&nbsp;总Q Q数：{$amount.qq}<span class="badge badge-info">今:{$amount.jqq}</span></a>
            <a class="list-group-item"><i class="fa fa-first-order"></i>&nbsp;总订单数：{$amount.order}<span class="badge badge-info">今:{$amount.jorder}</span></a>
            <a class="list-group-item"><i class="fa fa-cloud"></i>&nbsp;总分站数：{$amount.web}<span class="badge badge-info">今:{$amount.jweb}</span></a>
        </div>
    </div><!-- END column -->
    <div class="col-md-6">
        <div class="list-group">
            <div class="list-group-item active">站点信息</div>
            <a class="list-group-item"><i class="fa fa-cloud"></i>&nbsp;站点类型：<span class="badge badge-success">{if condition="config('web_super') eq 2"}超级主站{elseif condition="config('web_super') eq 1"}二级主站{else/}普通分站{/if}</span></a>
            <a class="list-group-item"><i class="fa fa-qq"></i>&nbsp;站长 Q Q：<span class="badge badge-warning">{:config('web_qq')}</span></a>
            <a class="list-group-item"><i class="fa fa-star"></i>&nbsp;开通时间：<span class="badge badge-info">{:config('web_addtime')}</span></a>
            <a class="list-group-item"><i class="fa fa-star"></i>&nbsp;到期时间：<span class="badge badge-info">{:config('web_endtime')}</span></a>
        </div>
    </div><!-- END column -->
</div>

{/block}
